package com.lsl.test;

import java.net.InetAddress;
import java.net.UnknownHostException;

/**
 * @author lishuailong
 * @create 2020-07-10 11:07
 */
public class test1 {
    public static void main(String[] args) throws UnknownHostException {
        InetAddress byName = InetAddress.getByName("www.jd.com");
        System.out.println(byName);
    }
}
